package com.example.demo.dao;

import com.example.demo.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface  NoticeDao {
    public int insertnotice(@Param("notice") Notice notice);
    List<Notice> selectAll();
    Notice selectid(int id);
    int updateid(Notice notice);
    public int deleteid(  int id);
}
